<?
echo form_open_multipart ('admin/flashvideo/addvideo');
?>
<table align="center" width="430" id="tableadmin">
	<tr>
		<td align="left" width="150">
		
<?

echo form_label ( 'Select Categeory', 'video_cat_id' );
?>
</td>
		<td width="290">
<?
echo form_dropdown ( 'video_cat_id', $options );
?>
</td>
	</tr>
	<tr>
		<td>
<?
echo form_label ( 'Select name for video', 'name' );
?>
</td>
		<td>
<?
echo form_input ( 'name', '' );
?>

</td>
	</tr>
	<tr>
		<td>
<?
echo form_label ( 'Select duration(00:00:00)', 'time');
?>
</td>
		<td>
<?
echo form_input ( 'time', '' );
?>

</td>
	</tr>
	
	<tr>
		<td>
<?
echo form_label ( 'Number of views', 'no_of_views' );
?>
</td>
		<td>
<?
echo form_input ( 'no_of_views','');
?>

</td>
	</tr>
	<tr>
		<td><?
		echo form_label ('Select Preview image(580 X 410','image0');
		?></td>
	   <td>
	   <?=form_upload ('image');?>
	   </td>
	</tr>
	<tr>
		<td>
<?
echo form_label ('Select Video file','video');
?>
</td>
		<td>
<?=form_upload ('video');?>
</td>
	</tr>
	
	<tr>
		<td></td>
		<td>
<? 
	echo form_submit('submit','upload');

?>
</td>
	</tr>
</table>
</form>

